package doudizhu;
/***********************************************************************
 * Module:  Card.java
 * Author:  Thinkpad
 * Purpose: Defines the Class Card
 ***********************************************************************/

import java.util.*;

/** @pdOid b6e0c966-8d9b-43fa-b3af-88645a103b5c */
public class Card {
   /** @pdOid 53ac3c4c-41a1-4483-a28a-eafe37f6b250 */
   protected int cardValue;
   /** @pdOid d83a00c5-5ecd-4fad-b380-e6f29048b56a */
   protected String cardText;
   
   public Card(String text,int v)
   {
	   this.cardText = text;
	   this.cardValue =v;
   }
   /** @param bFace
    * @pdOid 06272d56-c34b-42e4-9dc9-a840fc5581b3 */
   public void show(boolean bFace) {
      // TODO: implement
	   if (bFace)
	   {
		   System.out.println(cardText+"("+cardValue+")");
	   }
   }

}